package com.example.ibsp_demo.mapper.admin;

import com.example.ibsp_demo.pojo.entity.admin.Activity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ActivityMapper {
    /*
    * 基础增删查改方法
    *
    * */
    int addActivity(Activity activity);
    Activity selectActivityById(Integer id);
    int updateActivity(Activity activity);
    int deleteActivityById(Integer id);

    List<Activity> selectAll();
}
